package com.XiaoLongGroup.webtech.entity;/**
 * @author : SLCcccc
 * @date : 2023/5/6 10:09
 */

import lombok.Data;
import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;

/**
 *@ClassName Article
 *@Description TODO
 *@Author SLCcccc
 *@Date 2023/5/6 10:09
 *@Version 1.0
 */
@Component
@Data
@Alias("Article")
public class Article {
    /**
     * 文章id
     */
    private Integer aId;
    /**
     * 文章名
     */
    private String aName;
    /**
     * 文章作者
     */
    private User author;
    /**
     * 文章描述
     */
    private String aDesc;
    /**
     * 文章主体
     */
    private String aBody;

    @Override
    public String toString() {
        return "Article{" +
                "aId=" + aId +
                ", aName='" + aName + '\'' +
                ", author=" + author +
                ", aDesc='" + aDesc + '\'' +
                ", aBody='" + aBody + '\'' +
                '}';
    }
}
